/*
 * Singularity Engine
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */

/**
 * 
 */
package org.singularity.mapred.model;

import org.singularity.mapred.OutputElement;
import org.singularity.mapred.Source;

/**
 * @author vjache
 *
 */
public class OutputFlow<VT> extends Flow {

	/**
	 * @param aCascade
	 * @param aSource
	 * @param aDestination
	 */
	public OutputFlow(Object aId, DefaultCascade aCascade, Source aSource,
			OutputElement<VT> aOutputElem) {
		super(Code.OutputFlow,aId,aCascade, aSource, aOutputElem);
	}
	
	@SuppressWarnings("unchecked")
	@Override
	public OutputElement<VT> getDestination() {
		return (OutputElement<VT>) super.getDestination();
	}

}
